﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace Wix.Aura.Common.CustomTypes {
	public class SearchType {
		private SearchType(SearchValue value) {
			Value = value;
		}

		private SearchValue Value { get; set; }

		public override string ToString() {
			return Value.ToString().ToLower(CultureInfo.InvariantCulture);
		}

		public static SearchType File { get { return new SearchType(SearchValue.File); } }
		public static SearchType Directory { get { return new SearchType(SearchValue.Directory); } }
	}

	internal enum SearchValue { 
		File,
		Directory
	}
}
